package com.caregiver.watch.business.care.model.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description: 预警消息Bo
 * @Author 疆戟
 * @Date 2025/11/2 15:25
 * @Version 1.0
 */
@Data
public class AlertMessageBo {

    /**
     * 预警标题
     */
    private String warningTitle;
    /**
     * 预警值
     */
    private String warningValue;

    /**
     * 警戒值
     */
    private String threshold;

    /**
     * 处理建议
     */
    private List<String> warningContent;


    public static AlertMessageBo build(String warningTitle, String warningValue, String threshold, List<String> warningContent) {
        AlertMessageBo alertMessageBo = new AlertMessageBo();
        alertMessageBo.warningTitle = warningTitle;
        alertMessageBo.warningValue = warningValue;
        alertMessageBo.threshold = threshold;
        alertMessageBo.warningContent = warningContent;
        return alertMessageBo;
    }
}
